package com.hawk.eye.server.domain.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 *
 * @author salad
 * @date 2023-10-23
 */
@Data
public class RepairProblemRespVO {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long baseAlarmId;

    private String problemName;

    private String serviceCnName;

    private String serviceZnName;

    /**
     *
     */
    private String disposeUser;

    private String disposeUserName;

    /**
     *
     */
    private String problemDesc;

    /**
     *
     */
    private String problemCause;

    /**
     *
     */
    private String resolveDesc;

    /**
     *
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recordTime;

    /**
     *
     */
    private String problemType;

    /**
     *
     */
    private Integer status;

    /**
     *
     */
    private String problemLevel;

    private String traceId;


    private String chargeUserName;

    /**
     * $column.columnComment
     */
    private String requestUri;

    /**
     * $column.columnComment
     */
    private String requestParams;

    private String responseData;
    /**
     * $column.columnComment
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime alarmTime;

    /**
     * $column.columnComment
     */
    private String stackTrace;

    /**
     * $column.columnComment
     */
    private String errorName;

    /**
     * $column.columnComment
     */
    private String errorMessage;

    /**
     * $column.columnComment
     */
    private String errorFileName;

    /**
     * $column.columnComment
     */
    private String stackHash;

    private String problemLevelText;

    private String problemCauseText;

    private Integer firstProblem;

}
